import java.util.InputMismatchException;
import java.util.Scanner;

/**
 * @author:  gao
 * @create-date: 2025/6/1 20:42
 */

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            try {
                // 读取输入的两个整数
                int x = in.nextInt();
                int y = in.nextInt();
                // 调用Add方法计算两个整数的和，并输出结果
                System.out.println("sum = " + Add(x, y));
            } catch (InputMismatchException e) {
                // 如果输入不符合要求，输出异常信息
                System.out.println("Incorrect input: two integer is required");
                in.nextLine();
            }
        }
    }

    public static int Add(int x, int y) {
        // 直接返回两个整数的和
        return x + y;
    }
}